using System.Collections.Generic;
using Gameplay.PVE.Entity;
using UnityEngine;
using Yoozoo.Libs;

namespace Gameplay.PVE
{
    public class UnitOrder:IClass
    {
        void IClass.OnReset()
        {
            throw new System.NotImplementedException();
        }

        public enum EOrderType
        {
            None,
            MoveToPosition,
            AttackToTarget,
            Patrol,
            Follow,
            Park,
            Skill,
            SpecialCase,
        }

        public struct SkillArgs
        {
            public int id;
            public List<UnitBase> targetList;
            public Vector3 targetPosition;
            public Vector3 targetForward;
            public int globalSkillIndex;
        }

        public SkillArgs skillArgs;

        public EOrderType type;

        public Vector3 targetPosition;

        public BattleUnit target;

        public UnitBase specialTarget;
        
        public int targetId;

        public float startTime;
        
        public float lastTime;
    }
}